home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / pchelp.arc / SORTF.### < prev    next >
Text File  |  1985-01-22  |  1KB  |  24 lines

  1. COMMAND:  SORTF                                 DOCUMENTATION : On-line
  2.  
  3. FUNCTION: Reads data from one ASCII file, sorts the records, and writes the
  4.           data to another file.
  5.  
  6. FORMAT:   SORTF [d:][path]infilespec [d:][path]outfilespec [/R] [+nnn]
  7.  
  8. TYPE:     Public domain software
  9.  
  10. REMARKS:  /R changes the sort order from ascending to descending.
  11.           /+nnn indicates the first position of the record key (default=1).
  12.           SORTF is an enhanced version of the DOS SORT command that takes
  13.           larger files and less time. Records read from the infile ending
  14.           with a carriage return AND line feed are treated as logical records
  15.           and may be up to 255 characters long. If the in or out files are
  16.           omitted, you are prompted for them. The records are sorted in
  17.           ascending ASCII character order, unless /R is specified to reverse
  18.           the order. The key is taken from the first character position,
  19.           unless the /+nnn option is used to specify the location of the first
  20.           character of the key. The first 12 characters at that position are
  21.           used as the record key.
  22.  
  23.  
  24.